package com.ctshk.rpc.starvip.dto.start_vip.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import java.io.Serializable;
import java.util.List;

/**
 * @BelongsProject: Test
 * @BelongsPackage: com.hef.test.StarRewards
 * @Author: hef
 * @CreateTime: 2021-04-09 17:57
 * @Description: 描述
 */
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Data
@XmlRootElement(name = "ListOfLoyMember")
public class ListOfLoyMember implements Serializable {

    @XmlElement(name = "LoyMember")
    private List<LoyMember> loyMember;

    @XmlTransient
    public List<LoyMember> getLoyMember() {
        return loyMember;
    }
}
